package org.lee.bean.domain

import java.util.Date;

import grails.persistence.Entity
import groovy.transform.ToString

//@Entity
class Person2 {
	
	static mapping = {
		version false
		datasource 'dataSource2'
	}

	int id
	String name
	byte age
	Date lastUpdated
	Date dateCreated
	
	@Override
	public String toString() {
		return "**** id=$id, name=$name, age=$age, updateDate=$lastUpdated, createDate=$dateCreated"
	}
	
}
